package com.spic.business.violation.supervision.speed.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.common.core.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class ViolationsSpeedRecordVo {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    private Long cid;//测速系统数据id

    /** 违章规则id */
    private Long speedRulesId;
    //违章位置
    private String roadName;

    /** 违章来源 */
    @Excel(name = "违章来源")
    private String illegalSources;

    /** 违章类型 */
    @Excel(name = "违章类型")
    private String illegalType;

    /** 违章区域 */
    @Excel(name = "违章区域")
    private String illegalArea;

    /** 违章时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "违章时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date illegalTime;

    /** 关联车辆 */
    @Excel(name = "关联车辆")
    private String vehicleNumber;

    /** 行驶速度 */
    private Double runningSpeed;

    /** 关联部门 */
    @Excel(name = "关联部门",cahceType = Excel.CacheType.DEPT)
    private String associatedDept;

    /** 责任人员 */
    @Excel(name = "责任人员",cahceType = Excel.CacheType.USER)
    private String responsible;

    /** 违章说明 */
    private String illegalInstructions;

    /** 处罚金额 */
    private Double penaltyAmount;

    /** 提报人 */
    @Excel(name = "提报人",cahceType = Excel.CacheType.USER)
    private String mentionDissolution;

    /** 整改要求 */
    private String rectificationRequirements;

    /** 整改措施 */
    private String rectificationMeasures;

    /** 整改完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    @Excel(name = "整改完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date rectificationEndTime;

    /** 验收意见 */
    private String acceptanceOpinion;

    /** 验收人 */
    @Excel(name = "验收人",cahceType = Excel.CacheType.USER)
    private String acceptor;

    /** 验收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    @Excel(name = "验收时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date acceptanceTime;

    //防疲劳告警数据标识
    private String fplId;

    private String dataType; //数据来源

    /** 关联附件 */
    private String associatedAttachments;

    protected String createBy;

    protected Date createTime;

    private String instanceId;

    private String vehicleUnit;
}
